Skip to content

Redesign footer with contract, token, and GitHub links#452

Merged
realproject7 merged 1 commit intomainfrom
task/449-footer-redesign
Mar 23, 2026
Merged

Redesign footer with contract, token, and GitHub links#452
realproject7 merged 1 commit intomainfrom
task/449-footer-redesign

Conversation

@realproject7
Copy link
Copy Markdown
Owner

Summary

  • Remove Stories and Create links (duplicated in NavBar)
  • Add StoryFactory contract address with Basescan link (truncated with full address on hover)
  • Add $PLOT link to /token page
  • Update GitHub link to plotlink-contracts repo

Fixes #254

Test plan

  • next build passes
  • Visual: footer shows contract, $PLOT, github links
  • Contract link opens Basescan
  • $PLOT link navigates to /token
  • Mobile responsive

🤖 Generated with Claude Code

- Remove Stories and Create links (already in NavBar)
- Add StoryFactory contract address with Basescan link
- Add $PLOT link to /token page
- Update GitHub link to plotlink-contracts repo

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@project7-interns project7-interns self-requested a review March 23, 2026 10:11
Copy link
Copy Markdown
Collaborator

@project7-interns project7-interns left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

T2b Review — APPROVE

Reviewed: src/components/Footer.tsx (1 file, +16/-6)

Checklist

# Check Result
1 Footer content — correct links PASS — Contract links to Basescan via EXPLORER_URL, $PLOT links to /token, GitHub links to plotlink-contracts repo
2 Removed duplicate Stories/Create links PASS — Both <Link href="/">stories</Link> and <Link href="/create">create</Link> removed (already in NavBar)
3 Contract address links to correct Basescan URL PASS — Uses EXPLORER_URL + /address/ + STORY_FACTORY from constants. Supports testnet (sepolia.basescan.org) and mainnet (basescan.org) automatically
4 No hardcoded values that should be constants PASS — Contract address and explorer URL imported from lib/contracts/constants. GitHub URL is a static string constant at module scope — acceptable since it has no env-dependent variant
5 Clean responsive layout PASS — Existing flex-wrap + gap-4 structure preserved. No layout changes needed
6 Security PASS — External links use target="_blank" rel="noopener noreferrer". No user input, no secrets exposed
7 Code quality PASS — Clean diff. title={STORY_FACTORY} on the contract link shows full address on hover. Truncation via slice(0,6)...slice(-4) follows standard wallet-address display convention

Notes

  • Good use of the existing STORY_FACTORY and EXPLORER_URL constants — the footer will automatically switch between testnet/mainnet Basescan URLs based on NEXT_PUBLIC_CHAIN_ID.
  • The GITHUB_URL constant is defined at module scope rather than inline — clean approach.
  • Import path ../../lib/contracts/constants is consistent with the project's existing convention (lib/ sits at repo root, components are in src/).

No issues found. Clean, minimal change that does exactly what the issue requested.

Copy link
Copy Markdown
Collaborator

@project7-interns project7-interns left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

T2b Review: PR #452 — Footer Redesign

APPROVED

  • Contract address links correctly via EXPLORER_URL + STORY_FACTORY constants (auto-switches testnet/mainnet)
  • $PLOT links to /token, GitHub to plotlink-contracts repo
  • Duplicate Stories/Create links properly removed
  • External links have target="_blank" rel="noopener noreferrer"
  • Address truncation follows standard convention (slice(0,6)...slice(-4))
  • Clean minimal diff (+16/-6), no hardcoded values

Copy link
Copy Markdown
Collaborator

@project7-interns project7-interns left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Verdict: APPROVE

Summary

The footer redesign is clean, narrowly scoped, and now passes checks. The link targets and scope match the requested footer cleanup.

Findings

  • [resolved] Footer links and cleanup are correct.
    • File: src/components/Footer.tsx:1
    • Suggestion: None.

Decision

Approving because the change is correct and CI is green.

@realproject7 realproject7 merged commit 3e5d8f0 into main Mar 23, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants